import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import { Provider } from 'react-redux';
import store from './store';
//数据持久化,刷新页面数据不丢
import { PersistGate } from "redux-persist/integration/react";
//store 存储及数据持久化
// import { store, persistor } from "./store/index";
import './api/mock'
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    {/* <App /> */}
    {/* <PersistGate loading={null} persistor={persistor}> */}
        <App></App>
        {/* xixixi */}
      {/* </PersistGate> */}

  </Provider>

);


